<div id="belepes">

<?php if($error){ ?>
	<p><?php print __('Username / password error'); ?></p>
<?php } ?>
<?php
print $form->create('User', array('action' => 'login', 'name' => 'belepfotm', 'id' => 'belepform'));
print $form->input('nev', array('label' => __('Name', true), 'div' => array('class' => 'sor')));
print $form->input('passw', array('type' => 'password', 'label' => __('Password', true), 'div' => array('class' => 'sor')));

if(isset($_COOKIE['what2Do_w2dBe']) && ($_COOKIE['what2Do_w2dBe'] != 0))
	$checked = 'checked';
else
	$checked = 'false';
print '<label for="UserEmlek" style="float:left;">' . __('Remember me', true) . '</label>' . $form->checkbox('emlek', array('checked'=>$checked));

print $form->submit(__('Login', true), array('div' => false, 'class' => 'block'));
print $form->end();
?>
</div>

<script type="text/javascript" language="javascript">
	if(navigator.userAgent.search(/firefox/gi) == -1)
		$('belepes').update('<?php __('Currently only Firefox is supported.'); ?>');
</script>